#pragma once
#include "ChatWindow.h"

class PublicWindow : public ChatWindow
{
public:
	HACCEL accelerator;
	TCHAR user[LOGIN_SIZE];

	PublicWindow(HINSTANCE hInstance, LPCTSTR lpWindowName, DWORD dwStyle, int x, int y, int nWidth, int nHeight, HWND hWndParent, HMENU hMenu);
	~PublicWindow();	

	ATOM RegisterWindowClass();
	HACCEL* GetAccelerator();
	TCHAR* getUser(){return user;}

	VOID AuthenticationVerified(TCHAR *login, int userType);
	VOID PerformLogout();
	VOID SendTheMessage();
	VOID CloseWindow();
};

